home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / bench / x.txt / 000026_a_pyles@yahoo.com_Wed Oct 3 14:31:03 EDT 2001.msg < prev    next >
Text File  |  2020-01-01  |  1KB  |  37 lines

  1. Article: 12834 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!panix!news-peer.gip.net!news.gsl.net!gip.net!feeder.qis.net!sn-xit-02!supernews.com!postnews1.google.com!not-for-mail
  3. From: a_pyles@yahoo.com (Andy Pyles)
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: regular expressions
  6. Date: 3 Oct 2001 11:26:52 -0700
  7. Organization: http://groups.google.com/
  8. Lines: 19
  9. Message-ID: <a695e0e6.0110031026.4147c4ac@posting.google.com>
  10. NNTP-Posting-Host: 63.150.57.150
  11. Content-Type: text/plain; charset=ISO-8859-1
  12. Content-Transfer-Encoding: 8bit
  13. X-Trace: posting.google.com 1002133612 6768 127.0.0.1 (3 Oct 2001 18:26:52 GMT)
  14. X-Complaints-To: groups-abuse@google.com
  15. NNTP-Posting-Date: 3 Oct 2001 18:26:52 GMT
  16. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:12834
  17.  
  18. Hi,
  19.  
  20. I am writing a script to a serial line
  21. and am trying to test for the following unique string:
  22.  
  23. ^[[6;17Htestingtest 
  24.  
  25. Currently I have :
  26. minput 2 \27[6;17H
  27.  
  28. However this is not unique enough for me, because the text could be
  29. any english character. I need to check something like this:
  30.  
  31. minput \27[6;17H[A-Z][a-z]{1-9}
  32. which won't work. Is there some other way to accomplish the same
  33. thing?
  34.  
  35. Thanks,
  36. -Andy
  37.